package com.ruoyi.system.domain.quality;

/**
 * @author GE-LV5
 * @create 2023/3/1 11:18
 */

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author GE-LV5
 * @create 2023/2/28 10:21
 * ===========入库单===========
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("quality_warehouse_warrant")
public class QualityWarehouseWarrant implements Serializable {

    @TableId(value = "id")
    @Excel(name = "序号")
    private Long id;


    @ApiModelProperty(value = "质检单号")
    @Excel(name = "质检单号")
    private String qualityNumber;


    @ApiModelProperty(value = "来料单号")
    @Excel(name = "来料单号")
    private String incomingCode;

    @ApiModelProperty(value = "产品名称")
    @Excel(name = "产品名称")
    private String productName;

    @ApiModelProperty(value = "零件号")
    @Excel(name = "零件号")
    private String partMark;

    @ApiModelProperty(value = "来料数量")
    @Excel(name = "来料数量")
    private Integer incomingNumber;

    @ApiModelProperty(value = "实收数量")
    @Excel(name = "实收数量")
    private Integer receiptsNumber;


    @ApiModelProperty(value = "退货数量")
    @Excel(name = "退货数量")
    private Integer returnNumber;

    @ApiModelProperty(value = "单位")
    @Excel(name = "单位")
    private String unit;


    @ApiModelProperty(value = "订单号")
    @Excel(name = "订单号")
    private String orderCode;


    @ApiModelProperty(value = "来料批次")
    @Excel(name = "来料批次")
    private String incomingBatch;


    @ApiModelProperty(value = "库位")
    @Excel(name = "库位")
    private String storageLocation;

    @ApiModelProperty(value = "入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "入库时间")
    private Date storageDate;
    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新者
     */
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

}



